package com.xqm.springcloud.mapper;


import com.xqm.springcloud.pojo.UserInfo;
import com.xqm.springcloud.mapper.extend.UserInfoMapperExtend;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserInfoMapper extends UserInfoMapperExtend {
    int deleteByPrimaryKey(String userId);

    int insert(UserInfo record);

    UserInfo selectByPrimaryKey(String userId);

    List<UserInfo> selectAll();

    int updateByPrimaryKey(UserInfo record);
}